package com.xy.usermanagement.authormanagement.mapper;

import com.xy.model.Author;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface AuthorMapper {
    int deleteByPrimaryKey(String nickName);

    int insert(Author record);

    Author selectByPrimaryKey(String nickName);

    List<Author> selectAll();

    int updateByPrimaryKey(Author record);
}